package com.github.fork.common;

import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import org.glassfish.jersey.server.ResourceConfig;

/**
 * @author Jerry Liu
 * @since 2017/3/25
 */
public class JerseyConfig extends ResourceConfig {

    public JerseyConfig() {
        packages("com.github.fork.api");
        register(JacksonJsonProvider.class);
    }
}
